<template>
    <div align="center">
	  			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">标题:</label>
					<span class="form-value">{{ formData.title}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">内容摘要:</label>
					<span class="form-value">{{ formData.summary}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">封面图片地址:</label>
					<span class="form-value">{{ formData.fileUrl}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">信息栏目id:</label>
					<span class="form-value">{{ formData.columnId}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">访问量:</label>
					<span class="form-value">{{ formData.visitCount}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">排序:</label>
					<span class="form-value">{{ formData.sortNo}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">所属机构id:</label>
					<span class="form-value">{{ formData.orgId}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">是否推荐（1推荐0未推荐）:</label>
					<span class="form-value">{{ formData.recommend}}</span>
				 </el-col>
			 </el-row>

			<el-row>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">状态（1已发布0草稿）:</label>
					<span class="form-value">{{ formData.status}}</span>
				 </el-col>
				<el-col :span="12"  class="form-view-col">
					<label class="form-label">是否逻辑删除标识（0-未删除1-已删除）:</label>
					<span class="form-value">{{ formData.isDeleted}}</span>
				 </el-col>
			 </el-row>


      <div slot="footer" align="center" style='padding-top:40px'>
        <el-button @click="changeDialogVisible(false)">关闭</el-button>
      </div>
    </div>
</template>

<script>
  import { getDrawInfo } from '@/api/draw/DrawInfoApi'
  import ViewBase from '@/components/TableGrid/viewBase'

  export default {
    extends: ViewBase,
    name: 'drawInfoView',
    data() {
      return {
        formData: {},
        domainName: '思维导图信息'
      }
    },
    methods: {
      initDataFun(params) {
        return getDrawInfo(params);
      }
    }
  }
</script>

